
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>03-Code Splitting · 千锋大前端小册-webpack</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="古艺散人">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchors/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-insert-logo/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    

        
    
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="04-lazy-loading.html" />
    
    
    <link rel="prev" href="02-development-production.html" />
    

    
        <link rel="shortcut icon" href='../source/images/favicon.jpg' type="image/x-icon">
    
    
        <link rel="bookmark" href='../source/images/favicon.jpg' type="image/x-icon">
    
    
        <link rel="apple-touch-icon" href='../source/images/apple-touch-icon.jpg'>
    
    
        
        <link rel="apple-touch-icon" sizes="120x120" href="../source/images/apple-touch-icon.jpg">
        
        <link rel="apple-touch-icon" sizes="180x180" href="../source/images/apple-touch-icon.jpg">
        
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"buttons":[{"user":"lurongtao","repo":"felixbooks-electron","type":"star","size":"small","count":true}]};
    </script>

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    前言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../basics/01-Webpack基础.html">
            
                <a href="../basics/01-Webpack基础.html">
            
                    
                    基础
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../basics/01-Webpack基础.html">
            
                <a href="../basics/01-Webpack基础.html">
            
                    
                    01-Webpack基础
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="01-tree-shaking.html">
            
                <a href="01-tree-shaking.html">
            
                    
                    高级
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="01-tree-shaking.html">
            
                <a href="01-tree-shaking.html">
            
                    
                    01-TreeShaking
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="02-development-production.html">
            
                <a href="02-development-production.html">
            
                    
                    02-development&production
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.3.3" data-path="03-code-splitting.html">
            
                <a href="03-code-splitting.html">
            
                    
                    03-Code Splitting
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="04-lazy-loading.html">
            
                <a href="04-lazy-loading.html">
            
                    
                    04-模块懒加载
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="05-prefetch.html">
            
                <a href="05-prefetch.html">
            
                    
                    05-代码利用率
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6" data-path="06-webpack优化.html">
            
                <a href="06-webpack优化.html">
            
                    
                    06-webpack优化
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../thanks/">
            
                <a href="../thanks/">
            
                    
                    感谢
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >03-Code Splitting</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <div id="anchor-navigation-ex-navbar"><i class="fa fa-navicon"></i><ul><li><span class="title-icon "></span><a href="#&#x4EE3;&#x7801;&#x5206;&#x5272;"><b></b>&#x4EE3;&#x7801;&#x5206;&#x5272;</a></li><ul><li><span class="title-icon "></span><a href="#&#x65B9;&#x6848;&#x4E00;&#xFF1A;&#x5168;&#x5C40;&#x6302;&#x8F7D;"><b></b>&#x65B9;&#x6848;&#x4E00;&#xFF1A;&#x5168;&#x5C40;&#x6302;&#x8F7D;</a></li><li><span class="title-icon "></span><a href="#&#x65B9;&#x6848;&#x4E8C;&#xFF1A;externals"><b></b>&#x65B9;&#x6848;&#x4E8C;&#xFF1A;externals</a></li><li><span class="title-icon "></span><a href="#&#x65B9;&#x6848;&#x4E09;&#xFF1A;splitchunksplugin"><b></b>&#x65B9;&#x6848;&#x4E09;&#xFF1A;SplitChunksPlugin</a></li><ul><li><span class="title-icon "></span><a href="#&#x4E00;&#x3001;splitchunksplugin&#x7684;&#x6982;&#x5FF5;"><b></b>&#x4E00;&#x3001;SplitChunksPlugin&#x7684;&#x6982;&#x5FF5;</a></li><li><span class="title-icon "></span><a href="#&#x4E8C;&#x3001;splitchunksplugin&#x7684;&#x9ED8;&#x8BA4;&#x914D;&#x7F6E;"><b></b>&#x4E8C;&#x3001;SplitChunksPlugin&#x7684;&#x9ED8;&#x8BA4;&#x914D;&#x7F6E;</a></li></ul></ul></ul></div><a href="#&#x4EE3;&#x7801;&#x5206;&#x5272;" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a><h1 id="&#x4EE3;&#x7801;&#x5206;&#x5272;"><a name="&#x4EE3;&#x7801;&#x5206;&#x5272;" class="anchor-navigation-ex-anchor" href="#&#x4EE3;&#x7801;&#x5206;&#x5272;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x4EE3;&#x7801;&#x5206;&#x5272;" class="plugin-anchor" href="#&#x4EE3;&#x7801;&#x5206;&#x5272;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x4EE3;&#x7801;&#x5206;&#x5272;</h1>
<h2 id="&#x65B9;&#x6848;&#x4E00;&#xFF1A;&#x5168;&#x5C40;&#x6302;&#x8F7D;"><a name="&#x65B9;&#x6848;&#x4E00;&#xFF1A;&#x5168;&#x5C40;&#x6302;&#x8F7D;" class="anchor-navigation-ex-anchor" href="#&#x65B9;&#x6848;&#x4E00;&#xFF1A;&#x5168;&#x5C40;&#x6302;&#x8F7D;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x65B9;&#x6848;&#x4E00;&#xFF1A;&#x5168;&#x5C40;&#x6302;&#x8F7D;" class="plugin-anchor" href="#&#x65B9;&#x6848;&#x4E00;&#xFF1A;&#x5168;&#x5C40;&#x6302;&#x8F7D;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x65B9;&#x6848;&#x4E00;&#xFF1A;&#x5168;&#x5C40;&#x6302;&#x8F7D;</h2>
<p>&#x5047;&#x8BBE;&#x6709;&#x6A21;&#x5757; <code>module</code>, &#x5C06; <code>module</code> &#x6302;&#x8F7D;&#x5230; <code>window</code> &#x4E0A;&#xFF0C;&#x5404;&#x6A21;&#x5757;&#x5747;&#x53EF;&#x4F7F;&#x7528;&#x3002;</p>
<p><strong>&#x7B2C;&#x4E00;&#x6B65;</strong></p>
<pre><code class="lang-js"><span class="hljs-built_in">window</span>.module = <span class="hljs-built_in">module</span>
</code></pre>
<p><strong>&#x7B2C;&#x4E8C;&#x6B65;</strong></p>
<p>&#x5C06; <code>module</code> &#x653E;&#x6E90;&#x4EE3;&#x7801;&#x4E2D;&#xFF0C;&#x7136;&#x540E;&#x5728;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x7684; <code>entry</code> &#x5904;&#x52A0;&#x4E00;&#x4E2A; <code>chunk</code></p>
<pre><code class="lang-js">entry: {
  <span class="hljs-built_in">module</span>: path.resove(__dirname + <span class="hljs-string">&apos;./src/module.js&apos;</span>)
}
</code></pre>
<h2 id="&#x65B9;&#x6848;&#x4E8C;&#xFF1A;externals"><a name="&#x65B9;&#x6848;&#x4E8C;&#xFF1A;externals" class="anchor-navigation-ex-anchor" href="#&#x65B9;&#x6848;&#x4E8C;&#xFF1A;externals"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x65B9;&#x6848;&#x4E8C;&#xFF1A;externals" class="plugin-anchor" href="#&#x65B9;&#x6848;&#x4E8C;&#xFF1A;externals"><i class="fa fa-link" aria-hidden="true"></i></a>&#x65B9;&#x6848;&#x4E8C;&#xFF1A;externals</h2>
<p>externals &#x914D;&#x7F6E;&#x9009;&#x9879;&#x63D0;&#x4F9B;&#x4E86;&#x300C;&#x4ECE;&#x8F93;&#x51FA;&#x7684; bundle &#x4E2D;&#x6392;&#x9664;&#x4F9D;&#x8D56;&#x300D;&#x7684;&#x65B9;&#x6CD5;&#x3002;&#x76F8;&#x53CD;&#xFF0C;&#x6240;&#x521B;&#x5EFA;&#x7684; bundle &#x4F9D;&#x8D56;&#x4E8E;&#x90A3;&#x4E9B;&#x5B58;&#x5728;&#x4E8E;&#x7528;&#x6237;&#x73AF;&#x5883;(consumer&apos;s environment)&#x4E2D;&#x7684;&#x4F9D;&#x8D56;&#x3002;&#x6B64;&#x529F;&#x80FD;&#x901A;&#x5E38;&#x5BF9; library &#x5F00;&#x53D1;&#x4EBA;&#x5458;&#x6765;&#x8BF4;&#x662F;&#x6700;&#x6709;&#x7528;&#x7684;&#xFF0C;&#x7136;&#x800C;&#x4E5F;&#x4F1A;&#x6709;&#x5404;&#x79CD;&#x5404;&#x6837;&#x7684;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x7528;&#x5230;&#x5B83;&#x3002;</p>
<p>&#x9632;&#x6B62;&#x5C06;&#x67D0;&#x4E9B; import &#x7684;&#x5305;(package)&#x6253;&#x5305;&#x5230; bundle &#x4E2D;&#xFF0C;&#x800C;&#x662F;&#x5728;&#x8FD0;&#x884C;&#x65F6;(runtime)&#x518D;&#x53BB;&#x4ECE;&#x5916;&#x90E8;&#x83B7;&#x53D6;&#x8FD9;&#x4E9B;&#x6269;&#x5C55;&#x4F9D;&#x8D56;(external dependencies)&#x3002;</p>
<p>&#x4F8B;&#x5982;&#xFF0C;&#x4ECE; CDN &#x5F15;&#x5165; jQuery&#xFF0C;&#x800C;&#x4E0D;&#x662F;&#x628A;&#x5B83;&#x6253;&#x5305;&#xFF1A;</p>
<p><strong>index.html</strong></p>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">script</span>
  <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;https://code.jquery.com/jquery-3.1.0.js&quot;</span>
  <span class="hljs-attr">integrity</span>=<span class="hljs-string">&quot;sha256-slogkvB1K3VOkzAI8QITxV3VzpOnkeNVsKvtkYLMjfk=&quot;</span>
  <span class="hljs-attr">crossorigin</span>=<span class="hljs-string">&quot;anonymous&quot;</span>&gt;</span><span class="undefined">
</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
</code></pre>
<p><strong>webpack.config.js</strong></p>
<pre><code class="lang-js">externals: {
  jquery: <span class="hljs-string">&apos;jQuery&apos;</span>
}
</code></pre>
<p>&#x8FD9;&#x6837;&#x5C31;&#x5265;&#x79BB;&#x4E86;&#x90A3;&#x4E9B;&#x4E0D;&#x9700;&#x8981;&#x6539;&#x52A8;&#x7684;&#x4F9D;&#x8D56;&#x6A21;&#x5757;&#xFF0C;&#x6362;&#x53E5;&#x8BDD;&#xFF0C;&#x4E0B;&#x9762;&#x5C55;&#x793A;&#x7684;&#x4EE3;&#x7801;&#x8FD8;&#x53EF;&#x4EE5;&#x6B63;&#x5E38;&#x8FD0;&#x884C;&#xFF1A;</p>
<pre><code class="lang-js"><span class="hljs-keyword">import</span> $ <span class="hljs-keyword">from</span> <span class="hljs-string">&apos;jquery&apos;</span>
$(<span class="hljs-string">&apos;.my-element&apos;</span>).animate(...)
</code></pre>
<h2 id="&#x65B9;&#x6848;&#x4E09;&#xFF1A;splitchunksplugin"><a name="&#x65B9;&#x6848;&#x4E09;&#xFF1A;splitchunksplugin" class="anchor-navigation-ex-anchor" href="#&#x65B9;&#x6848;&#x4E09;&#xFF1A;splitchunksplugin"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x65B9;&#x6848;&#x4E09;&#xFF1A;splitchunksplugin" class="plugin-anchor" href="#&#x65B9;&#x6848;&#x4E09;&#xFF1A;splitchunksplugin"><i class="fa fa-link" aria-hidden="true"></i></a>&#x65B9;&#x6848;&#x4E09;&#xFF1A;SplitChunksPlugin</h2>
<h3 id="&#x4E00;&#x3001;splitchunksplugin&#x7684;&#x6982;&#x5FF5;"><a name="&#x4E00;&#x3001;splitchunksplugin&#x7684;&#x6982;&#x5FF5;" class="anchor-navigation-ex-anchor" href="#&#x4E00;&#x3001;splitchunksplugin&#x7684;&#x6982;&#x5FF5;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x4E00;&#x3001;splitchunksplugin&#x7684;&#x6982;&#x5FF5;" class="plugin-anchor" href="#&#x4E00;&#x3001;splitchunksplugin&#x7684;&#x6982;&#x5FF5;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x4E00;&#x3001;SplitChunksPlugin&#x7684;&#x6982;&#x5FF5;</h3>
<p>&#x5728;&#x5DE5;&#x7A0B;&#x5316;&#x5730;&#x4F7F;&#x7528;webpack&#x65F6;&#xFF0C;&#x516C;&#x5171;&#x4EE3;&#x7801;&#x62BD;&#x79BB;&#x662F;&#x4E0D;&#x53EF;&#x6216;&#x7F3A;&#x7684;&#xFF0C;4.x&#x7248;&#x672C;&#x4E4B;&#x540E;&#xFF0C;commonsChunkPlugin&#x5DF2;&#x7ECF;&#x88AB;&#x53BB;&#x6389;&#xFF0C;splitChunksPlugins&#x767B;&#x4E0A;&#x821E;&#x53F0;&#xFF0C;&#x5E76;&#x4E14;&#x4F18;&#x5316;&#x4E86;&#x5F88;&#x591A;&#x914D;&#x7F6E;&#x9009;&#x9879;&#x3002;</p>
<p>&#x5728;&#x4F7F;&#x7528;splitChunksPlugins&#x4E4B;&#x524D;&#xFF0C;&#x9996;&#x5148;&#x8981;&#x77E5;&#x9053;splitChunksPlugins&#x662F;webpack&#x4E3B;&#x6A21;&#x5757;&#x4E2D;&#x7684;&#x4E00;&#x4E2A;&#x7EC6;&#x5206;&#x6A21;&#x5757;&#xFF0C;&#x65E0;&#x9700;npm&#x5F15;&#x5165;&#x3002;&#x529F;&#x80FD;&#x4E0A;&#xFF0C;splitChunksPlugins&#x53EA;&#x80FD;&#x7528;&#x4E8E;&#x5982;&#x4F55;&#x62BD;&#x79BB;&#x516C;&#x7528;&#x7684;&#x4EE3;&#x7801;&#xFF0C;&#x4E5F;&#x5C31;&#x662F;&#x62BD;&#x79BB;&#x516C;&#x7528;&#x4EE3;&#x7801;&#x7684;&#x89C4;&#x5219;&#xFF0C;&#x8981;&#x8BB0;&#x4F4F;&#xFF0C;&#x9664;&#x4E86;&#x8FD9;&#x4E2A;&#x529F;&#x80FD;&#x4E4B;&#x5916;&#xFF0C;splitChunksPlugins&#x518D;&#x65E0;&#x5176;&#x4ED6;&#x529F;&#x80FD;&#x3002;</p>
<h3 id="&#x4E8C;&#x3001;splitchunksplugin&#x7684;&#x9ED8;&#x8BA4;&#x914D;&#x7F6E;"><a name="&#x4E8C;&#x3001;splitchunksplugin&#x7684;&#x9ED8;&#x8BA4;&#x914D;&#x7F6E;" class="anchor-navigation-ex-anchor" href="#&#x4E8C;&#x3001;splitchunksplugin&#x7684;&#x9ED8;&#x8BA4;&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x4E8C;&#x3001;splitchunksplugin&#x7684;&#x9ED8;&#x8BA4;&#x914D;&#x7F6E;" class="plugin-anchor" href="#&#x4E8C;&#x3001;splitchunksplugin&#x7684;&#x9ED8;&#x8BA4;&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x4E8C;&#x3001;SplitChunksPlugin&#x7684;&#x9ED8;&#x8BA4;&#x914D;&#x7F6E;</h3>
<p>&#x4EE5;&#x4E0B;&#x662F;SplitChunksPlugin&#x7684;&#x9ED8;&#x8BA4;&#x914D;&#x7F6E;&#xFF1A;</p>
<pre><code class="lang-js"><span class="hljs-built_in">module</span>.exports = {
  <span class="hljs-comment">//...</span>
  optimization: {
    splitChunks: {
      chunks: <span class="hljs-string">&apos;async&apos;</span>,
      minSize: <span class="hljs-number">20000</span>,
      minRemainingSize: <span class="hljs-number">0</span>,
      maxSize: <span class="hljs-number">0</span>,
      minChunks: <span class="hljs-number">1</span>,
      maxAsyncRequests: <span class="hljs-number">6</span>,
      maxInitialRequests: <span class="hljs-number">4</span>,
      automaticNameDelimiter: <span class="hljs-string">&apos;~&apos;</span>,
      enforceSizeThreshold: <span class="hljs-number">50000</span>,
      cacheGroups: {
        defaultVendors: {
          test: <span class="hljs-regexp">/[\\/]node_modules[\\/]/</span>,
          priority: <span class="hljs-number">-10</span>
        },
        <span class="hljs-keyword">default</span>: {
          minChunks: <span class="hljs-number">2</span>,
          priority: <span class="hljs-number">-20</span>,
          reuseExistingChunk: <span class="hljs-literal">true</span>
        }
      }
    }
  }
}
</code></pre>
<h4 id="1&#x3001;&#x5C0F;&#x8BD5;&#x725B;&#x5200;"><a name="1&#x3001;&#x5C0F;&#x8BD5;&#x725B;&#x5200;" class="anchor-navigation-ex-anchor" href="#1&#x3001;&#x5C0F;&#x8BD5;&#x725B;&#x5200;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="1&#x3001;&#x5C0F;&#x8BD5;&#x725B;&#x5200;" class="plugin-anchor" href="#1&#x3001;&#x5C0F;&#x8BD5;&#x725B;&#x5200;"><i class="fa fa-link" aria-hidden="true"></i></a>1&#x3001;&#x5C0F;&#x8BD5;&#x725B;&#x5200;</h4>
<p>&#x4EE5;&#x4E0B;&#x914D;&#x7F6E;&#x53EF;&#x4EE5;&#x81EA;&#x52A8;&#x5B9E;&#x73B0;&#x4EE3;&#x7801;&#x5206;&#x5272;&#xFF1A;</p>
<pre><code class="lang-js"><span class="hljs-built_in">module</span>.exports = {
  <span class="hljs-comment">//...</span>
  optimization: {
    splitChunks: {
      chunks: <span class="hljs-string">&apos;all&apos;</span>,
    }
  }
  <span class="hljs-comment">//...</span>
}
</code></pre>
<h4 id="2&#x3001;&#x5F02;&#x6B65;&#x4EE3;&#x7801;&#x5206;&#x5272;"><a name="2&#x3001;&#x5F02;&#x6B65;&#x4EE3;&#x7801;&#x5206;&#x5272;" class="anchor-navigation-ex-anchor" href="#2&#x3001;&#x5F02;&#x6B65;&#x4EE3;&#x7801;&#x5206;&#x5272;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="2&#x3001;&#x5F02;&#x6B65;&#x4EE3;&#x7801;&#x5206;&#x5272;" class="plugin-anchor" href="#2&#x3001;&#x5F02;&#x6B65;&#x4EE3;&#x7801;&#x5206;&#x5272;"><i class="fa fa-link" aria-hidden="true"></i></a>2&#x3001;&#x5F02;&#x6B65;&#x4EE3;&#x7801;&#x5206;&#x5272;</h4>
<p><strong>&#x5F02;&#x6B65;&#x4EE3;&#x7801;&#xFF1A;</strong></p>
<pre><code class="lang-js"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">getComponent</span>(<span class="hljs-params"></span>) </span>{
  <span class="hljs-keyword">return</span> <span class="hljs-keyword">import</span>(<span class="hljs-comment">/* webpackChunkName: &quot;lodash&quot; */</span> <span class="hljs-string">&apos;lodash&apos;</span>).then(_ =&gt; {
    <span class="hljs-keyword">var</span> element = <span class="hljs-built_in">document</span>.createElement(<span class="hljs-string">&apos;div&apos;</span>)
    element.innerHTML = _.join([<span class="hljs-string">&apos;Hello&apos;</span>, <span class="hljs-string">&apos;webpack&apos;</span>], <span class="hljs-string">&apos; &apos;</span>)
    <span class="hljs-keyword">return</span> element
  }).catch(error =&gt; <span class="hljs-string">&apos;An error occurred while loading the component&apos;</span>)
}

getComponent().then(component =&gt; {
  <span class="hljs-built_in">document</span>.body.appendChild(component);
})
</code></pre>
<p>&#x6B64;&#x5904; <code>/* webpackChunkName: &quot;lodash&quot; */</code> &#x4E3A;&#x9B54;&#x6CD5;&#x6CE8;&#x91CA;&#xFF0C;&#x8FD9;&#x4E2A;&#x8981;&#x751F;&#x6548;&#x9664;&#x4E86;&#x4E0A;&#x8FF0;&#x63D2;&#x4EF6;&#x5916;&#xFF0C;&#x8FD8;&#x9700;&#x8981;&#x914D;&#x7F6E;&#xFF0C;&#x8FD9;&#x6837;&#x5BFC;&#x51FA;&#x7684;&#x6587;&#x4EF6;&#x540D;&#x5373;&#x4E3A; <code>lodash.js</code></p>
<pre><code class="lang-js"><span class="hljs-built_in">module</span>.exports = {
  <span class="hljs-comment">//...</span>
  optimization: {
    splitChunks: {
      chunks: <span class="hljs-string">&apos;all&apos;</span>,
    },
    cacheGroups: {
      defaultVendors: <span class="hljs-literal">false</span>,
      <span class="hljs-keyword">default</span>: <span class="hljs-literal">false</span>
    }
  }
  <span class="hljs-comment">//...</span>
}
</code></pre>
<h4 id="3&#x3001;&#x914D;&#x7F6E;&#x9879;"><a name="3&#x3001;&#x914D;&#x7F6E;&#x9879;" class="anchor-navigation-ex-anchor" href="#3&#x3001;&#x914D;&#x7F6E;&#x9879;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="3&#x3001;&#x914D;&#x7F6E;&#x9879;" class="plugin-anchor" href="#3&#x3001;&#x914D;&#x7F6E;&#x9879;"><i class="fa fa-link" aria-hidden="true"></i></a>3&#x3001;&#x914D;&#x7F6E;&#x9879;</h4>
<h5 id="31-&#x9ED8;&#x8BA4;&#x914D;&#x7F6E;"><a name="31-&#x9ED8;&#x8BA4;&#x914D;&#x7F6E;" class="anchor-navigation-ex-anchor" href="#31-&#x9ED8;&#x8BA4;&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="31-&#x9ED8;&#x8BA4;&#x914D;&#x7F6E;" class="plugin-anchor" href="#31-&#x9ED8;&#x8BA4;&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a>3.1 &#x9ED8;&#x8BA4;&#x914D;&#x7F6E;</h5>
<p>&#x4EE5;&#x4E0B;&#x9ED8;&#x8BA4;&#x914D;&#x7F6E;&#x7B49;&#x540C;&#x4E0A;&#x8FF0;&#x7684; <code>SplitChunksPlugin&#x7684;&#x9ED8;&#x8BA4;&#x914D;&#x7F6E;</code></p>
<pre><code class="lang-js"><span class="hljs-built_in">module</span>.exports = {
  <span class="hljs-comment">//...</span>
  optimization: {
    splitChunks: {}
  }
  <span class="hljs-comment">//...</span>
}
</code></pre>
<h5 id="32-chunks"><a name="32-chunks" class="anchor-navigation-ex-anchor" href="#32-chunks"><i class="fa fa-link" aria-hidden="true"></i></a><a name="32-chunks" class="plugin-anchor" href="#32-chunks"><i class="fa fa-link" aria-hidden="true"></i></a>3.2 chunks</h5>
<p>&#x8FD9;&#x8868;&#x793A;&#x5C06;&#x9009;&#x62E9;&#x54EA;&#x4E9B;&#x5757;&#x8FDB;&#x884C;&#x4F18;&#x5316;&#x3002;&#x63D0;&#x4F9B;&#x5B57;&#x7B26;&#x4E32;&#x65F6;&#xFF0C;&#x6709;&#x6548;&#x503C;&#x4E3A;all&#x3001;async&#x548C;initial&#x3002;&#x63D0;&#x4F9B;all&#x529F;&#x80FD;&#x7279;&#x522B;&#x5F3A;&#x5927;&#xFF0C;&#x56E0;&#x4E3A;&#x8FD9;&#x610F;&#x5473;&#x7740;&#x5373;&#x4F7F;&#x5728;&#x5F02;&#x6B65;&#x548C;&#x975E;&#x5F02;&#x6B65;&#x5757;&#x4E4B;&#x95F4;&#x4E5F;&#x53EF;&#x4EE5;&#x5171;&#x4EAB;&#x5757;&#x3002;</p>
<p><strong>&#x540C;&#x6B65;&#x4EE3;&#x7801;&#xFF1A;</strong></p>
<pre><code class="lang-js"><span class="hljs-keyword">import</span> _ <span class="hljs-keyword">from</span> <span class="hljs-string">&apos;lodash&apos;</span>;
<span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">component</span>(<span class="hljs-params"></span>) </span>{
  <span class="hljs-keyword">var</span> element = <span class="hljs-built_in">document</span>.createElement(<span class="hljs-string">&apos;div&apos;</span>);

  <span class="hljs-comment">// Lodash, now imported by this script</span>
  element.innerHTML = _.join([<span class="hljs-string">&apos;Hello&apos;</span>, <span class="hljs-string">&apos;webpack&apos;</span>], <span class="hljs-string">&apos; &apos;</span>);
}

<span class="hljs-built_in">document</span>.body.appendChild(component());
</code></pre>
<p><strong>&#x5F02;&#x6B65;&#x4EE3;&#x7801;&#xFF1A;</strong></p>
<pre><code class="lang-js"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">getComponent</span>(<span class="hljs-params"></span>) </span>{
  <span class="hljs-keyword">return</span> <span class="hljs-keyword">import</span>(<span class="hljs-comment">/* webpackChunkName: &quot;lodash&quot; */</span> <span class="hljs-string">&apos;lodash&apos;</span>).then(_ =&gt; {
    <span class="hljs-keyword">var</span> element = <span class="hljs-built_in">document</span>.createElement(<span class="hljs-string">&apos;div&apos;</span>)
    element.innerHTML = _.join([<span class="hljs-string">&apos;Hello&apos;</span>, <span class="hljs-string">&apos;webpack&apos;</span>], <span class="hljs-string">&apos; &apos;</span>)
    <span class="hljs-keyword">return</span> element
  }).catch(error =&gt; <span class="hljs-string">&apos;An error occurred while loading the component&apos;</span>)
}

getComponent().then(component =&gt; {
  <span class="hljs-built_in">document</span>.body.appendChild(component);
})
</code></pre>
<p><strong>&#x914D;&#x7F6E;</strong></p>
<pre><code class="lang-js"><span class="hljs-built_in">module</span>.exports = {
  <span class="hljs-comment">//...</span>
  optimization: {
    splitChunks: {
      chunks: <span class="hljs-string">&apos;initial&apos;</span>,
    },
    cacheGroups: {
      defaultVendors: {
        test: <span class="hljs-regexp">/[\\/]node_modules[\\/]/</span>,
        priority: <span class="hljs-number">-10</span>,
        filename: <span class="hljs-string">&apos;venders.js&apos;</span>
      },
      <span class="hljs-keyword">default</span>: <span class="hljs-literal">false</span>
    }
  }
  <span class="hljs-comment">//...</span>
}
</code></pre>
<h5 id="33-minsize-&#x914D;&#x7F6E;"><a name="33-minsize-&#x914D;&#x7F6E;" class="anchor-navigation-ex-anchor" href="#33-minsize-&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="33-minsize-&#x914D;&#x7F6E;" class="plugin-anchor" href="#33-minsize-&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a>3.3 minSize &#x914D;&#x7F6E;</h5>
<p>&#x9700;&#x8981;&#x6253;&#x5305;&#x7684;&#x6587;&#x4EF6;&#x751F;&#x6210;&#x5757;&#x7684;&#x6700;&#x5C0F;&#x5927;&#x5C0F;&#xFF08;&#x5B57;&#x8282;&#xFF09;&#x3002;</p>
<h5 id="34-maxsize-&#x914D;&#x7F6E;"><a name="34-maxsize-&#x914D;&#x7F6E;" class="anchor-navigation-ex-anchor" href="#34-maxsize-&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="34-maxsize-&#x914D;&#x7F6E;" class="plugin-anchor" href="#34-maxsize-&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a>3.4 maxSize &#x914D;&#x7F6E;</h5>
<p>&#x5BF9;&#x9700;&#x8981;&#x6253;&#x5305;&#x6587;&#x4EF6;&#x8FDB;&#x884C;&#x4E8C;&#x6B21;&#x5206;&#x5272;</p>
<h5 id="35-minchunks-&#x914D;&#x7F6E;"><a name="35-minchunks-&#x914D;&#x7F6E;" class="anchor-navigation-ex-anchor" href="#35-minchunks-&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="35-minchunks-&#x914D;&#x7F6E;" class="plugin-anchor" href="#35-minchunks-&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a>3.5 minChunks &#x914D;&#x7F6E;</h5>
<p>&#x5F53;&#x4E00;&#x4E2A;&#x6A21;&#x5757;&#x88AB;&#x7528;&#x4E86;&#x591A;&#x5C11;&#x6B21;&#x7684;&#x65F6;&#x5019;&#x518D;&#x8FDB;&#x884C;&#x4EE3;&#x7801;&#x5206;&#x5272;</p>
<h5 id="36-maxasyncrequests-&#x914D;&#x7F6E;"><a name="36-maxasyncrequests-&#x914D;&#x7F6E;" class="anchor-navigation-ex-anchor" href="#36-maxasyncrequests-&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="36-maxasyncrequests-&#x914D;&#x7F6E;" class="plugin-anchor" href="#36-maxasyncrequests-&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a>3.6 maxAsyncRequests &#x914D;&#x7F6E;</h5>
<p>&#x5F53;&#x6574;&#x4E2A;&#x9879;&#x76EE;&#x6253;&#x5305;&#x5B8C;&#x4E4B;&#x540E;&#xFF0C;&#x4E00;&#x4E2A;&#x6309;&#x9700;&#x52A0;&#x8F7D;&#x7684;&#x5305;&#x6700;&#x7EC8;&#x88AB;&#x62C6;&#x5206;&#x6210; n &#x4E2A;&#x5305;&#xFF0C;maxAsyncRequests &#x5C31;&#x662F;&#x7528;&#x6765;&#x9650;&#x5236; n &#x7684;&#x6700;&#x5927;&#x503C;</p>
<h5 id="37-maxinitialrequests-&#x914D;&#x7F6E;"><a name="37-maxinitialrequests-&#x914D;&#x7F6E;" class="anchor-navigation-ex-anchor" href="#37-maxinitialrequests-&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="37-maxinitialrequests-&#x914D;&#x7F6E;" class="plugin-anchor" href="#37-maxinitialrequests-&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a>3.7 maxInitialRequests &#x914D;&#x7F6E;</h5>
<p>&#x5165;&#x53E3;&#x70B9;&#x7684;&#x6700;&#x5927;&#x5E76;&#x884C;&#x8BF7;&#x6C42;&#x6570;&#x3002;</p>
<h5 id="38-automaticnamedelimiter-&#x914D;&#x7F6E;"><a name="38-automaticnamedelimiter-&#x914D;&#x7F6E;" class="anchor-navigation-ex-anchor" href="#38-automaticnamedelimiter-&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="38-automaticnamedelimiter-&#x914D;&#x7F6E;" class="plugin-anchor" href="#38-automaticnamedelimiter-&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a>3.8 automaticNameDelimiter &#x914D;&#x7F6E;</h5>
<p>&#x9ED8;&#x8BA4;&#x60C5;&#x51B5;&#x4E0B;&#xFF0C;webpack&#x5C06;&#x4F7F;&#x7528;&#x5757;&#x7684;&#x6765;&#x6E90;&#x548C;&#x540D;&#x79F0;&#x751F;&#x6210;&#x540D;&#x79F0;&#xFF08;&#x4F8B;&#x5982;vendors~main.js). &#x6B64;&#x9009;&#x9879;&#x5141;&#x8BB8;&#x60A8;&#x6307;&#x5B9A;&#x8981;&#x7528;&#x4E8E;&#x751F;&#x6210;&#x7684;&#x540D;&#x79F0;&#x7684;&#x5206;&#x9694;&#x7B26;&#x3002;</p>
<h5 id="39-reuseexistingchunk-&#x914D;&#x7F6E;"><a name="39-reuseexistingchunk-&#x914D;&#x7F6E;" class="anchor-navigation-ex-anchor" href="#39-reuseexistingchunk-&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="39-reuseexistingchunk-&#x914D;&#x7F6E;" class="plugin-anchor" href="#39-reuseexistingchunk-&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a>3.9 reuseExistingChunk &#x914D;&#x7F6E;</h5>
<p>&#x590D;&#x7528;&#x4E4B;&#x524D;&#x6253;&#x5305;&#x597D;&#x7684;&#x6A21;&#x5757;</p>
<h5 id="310-minremainingsize-&#x914D;&#x7F6E;"><a name="310-minremainingsize-&#x914D;&#x7F6E;" class="anchor-navigation-ex-anchor" href="#310-minremainingsize-&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="310-minremainingsize-&#x914D;&#x7F6E;" class="plugin-anchor" href="#310-minremainingsize-&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a>3.10 minRemainingSize &#x914D;&#x7F6E;</h5>
<p>splitChunks.minRemainingSize&#x5728;webpack5&#x4E2D;&#x5F15;&#x5165;&#x4E86;&#x9009;&#x9879;&#xFF0C;&#x901A;&#x8FC7;&#x786E;&#x4FDD;&#x62C6;&#x5206;&#x540E;&#x5269;&#x4F59;&#x7684;&#x5757;&#x7684;&#x6700;&#x5C0F;&#x5927;&#x5C0F;&#x8D85;&#x8FC7;&#x9650;&#x5236;&#xFF0C;&#x4ECE;&#x800C;&#x907F;&#x514D;&#x96F6;&#x5927;&#x5C0F;&#x7684;&#x6A21;&#x5757;&#x3002;&#x5728;&#x201C;&#x5F00;&#x53D1;&#x201D;&#x6A21;&#x5F0F;&#x4E0B;&#x9ED8;&#x8BA4;&#x4E3A;0&#x3002;&#x5176;&#x4ED6;&#x60C5;&#x51B5;&#x4E0B;splitChunks.minRemainingSize&#x9ED8;&#x8BA4;&#x503C;&#x4E3A;splitChunks.minSize&#x3002;&#x56E0;&#x6B64;&#xFF0C;&#x9664;&#x4E86;&#x6781;&#x5C11;&#x6570;&#x9700;&#x8981;&#x6DF1;&#x5EA6;&#x63A7;&#x5236;&#x7684;&#x60C5;&#x51B5;&#x5916;&#xFF0C;&#x4E0D;&#x9700;&#x8981;&#x624B;&#x52A8;&#x6307;&#x5B9A;&#x5B83;&#x3002;</p>
<h5 id="311-enforcesizethreshold-&#x914D;&#x7F6E;"><a name="311-enforcesizethreshold-&#x914D;&#x7F6E;" class="anchor-navigation-ex-anchor" href="#311-enforcesizethreshold-&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="311-enforcesizethreshold-&#x914D;&#x7F6E;" class="plugin-anchor" href="#311-enforcesizethreshold-&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a>3.11 enforceSizeThreshold &#x914D;&#x7F6E;</h5>
<p>&#x6267;&#x884C;&#x62C6;&#x5206;&#x7684;&#x5927;&#x5C0F;&#x9608;&#x503C;&#xFF0C;&#x5FFD;&#x7565;&#x5176;&#x4ED6;&#x9650;&#x5236;&#xFF08;minRemainingSize&#x3001;maxAsyncRequests&#x3001;maxInitialRequests&#xFF09;&#x3002;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="02-development-production.html" class="navigation navigation-prev " aria-label="Previous page: 02-development&production">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="04-lazy-loading.html" class="navigation navigation-next " aria-label="Next page: 04-模块懒加载">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"03-Code Splitting","level":"1.3.3","depth":2,"next":{"title":"04-模块懒加载","level":"1.3.4","depth":2,"path":"advanced/04-lazy-loading.md","ref":"./advanced/04-lazy-loading.md","articles":[]},"previous":{"title":"02-development&production","level":"1.3.2","depth":2,"path":"advanced/02-development-production.md","ref":"./advanced/02-development-production.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-sharing","splitter","expandable-chapters-small","anchors","github","github-buttons","sharing-plus","anchor-navigation-ex","favicon","insert-logo"],"styles":{"website":"./styles/website.css"},"pluginsConfig":{"github":{"url":"https://github.com/lurongtao/felixbooks-electron"},"splitter":{},"search":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"anchor-navigation-ex":{"associatedWithSummary":true,"float":{"floatIcon":"fa fa-navicon","level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"mode":"float","multipleH1":true,"pageTop":{"level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"printLog":false,"showGoTop":true,"showLevel":false},"favicon":{"shortcut":"./source/images/favicon.jpg","bookmark":"./source/images/favicon.jpg","appleTouch":"./source/images/apple-touch-icon.jpg","appleTouchMore":{"120x120":"./source/images/apple-touch-icon.jpg","180x180":"./source/images/apple-touch-icon.jpg"}},"github-buttons":{"buttons":[{"user":"lurongtao","repo":"felixbooks-electron","type":"star","size":"small","count":true}]},"expandable-chapters-small":{},"sharing":{"qq":false,"all":["google","facebook","weibo","twitter","qq","qzone","linkedin","pocket"],"douban":false,"facebook":false,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"insert-logo":{"style":"background: skyblue; width: 100%; height: 100%;","url":"/felixbooks-electron/images/logo.png"}},"theme":"default","author":"古艺散人","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"千锋大前端小册-webpack","language":"zh-hans","links":{},"gitbook":"3.2.3","description":"webpack 入门与实战"},"file":{"path":"advanced/03-code-splitting.md","mtime":"2020-08-02T00:44:16.993Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-08-03T09:09:27.519Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-insert-logo/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

